/**
 * FileFind - ftp/shares indexing and search php engine
 * Module: common
 * Description: Common classes
 * Copyright (c) 2003-2010 Rage Steel, www.gt2.ru
 */
package ru.ffind.common.model;

import java.util.Date;
import java.util.Set;

/**
 * Search result item.
 *
 * @author Rage Steel
 */
public interface SearchResult {
    /**
     * Return file size.
     * 
     * @return
     */
    long getSize();

    /**
     * Return date/time.
     *
     * @return
     */
    Date getDate();

    /**
     * Return assigned flags.
     *
     * @return
     */
    Set<EntryFlag> getFlags();

    /**
     * Return filename.
     * 
     * @return
     */
    String getFilename();
}
